[
 {
  "owner": "Administrator", 
  "docstatus": 0, 
  "creation": "2010-08-08 17:09:35", 
  "modified_by": "Administrator", 
  "modified": "2012-04-03 12:49:50"
 }, 
 {
  "name": "__common__", 
  "parent": "Purchase Order-Purchase Invoice", 
  "doctype": "Table Mapper Detail", 
  "parenttype": "DocType Mapper", 
  "parentfield": "table_mapper_details"
 }, 
 {
  "name": "__common__", 
  "parent": "Purchase Order-Purchase Invoice", 
  "doctype": "Field Mapper Detail", 
  "parenttype": "DocType Mapper", 
  "parentfield": "field_mapper_details"
 }, 
 {
  "name": "__common__", 
  "to_doctype": "Purchase Invoice", 
  "module": "Accounts", 
  "doctype": "DocType Mapper", 
  "ref_doc_submitted": 1, 
  "from_doctype": "Purchase Order"
 }, 
 {
  "name": "Purchase Order-Purchase Invoice", 
  "doctype": "DocType Mapper"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "qty", 
  "doctype": "Field Mapper Detail", 
  "from_field": "eval: flt(obj.qty) - flt(obj.billed_qty)"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "rate", 
  "doctype": "Field Mapper Detail", 
  "from_field": "purchase_rate"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "amount", 
  "doctype": "Field Mapper Detail", 
  "from_field": "eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.purchase_rate)"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "import_amount", 
  "doctype": "Field Mapper Detail", 
  "from_field": "eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.import_rate)"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "purchase_order", 
  "doctype": "Field Mapper Detail", 
  "from_field": "parent"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "po_detail", 
  "doctype": "Field Mapper Detail", 
  "from_field": "name"
 }, 
 {
  "map": "No", 
  "match_id": 0, 
  "to_field": "naming_series", 
  "doctype": "Field Mapper Detail", 
  "from_field": "naming_series"
 }, 
 {
  "map": "Yes", 
  "match_id": 0, 
  "to_field": "total_tax", 
  "doctype": "Field Mapper Detail", 
  "from_field": "total_tax"
 }, 
 {
  "map": "Yes", 
  "match_id": 0, 
  "to_field": "conversion_rate", 
  "doctype": "Field Mapper Detail", 
  "from_field": "conversion_rate"
 }, 
 {
  "match_id": 0, 
  "doctype": "Table Mapper Detail", 
  "from_table": "Purchase Order", 
  "to_table": "Purchase Invoice", 
  "validation_logic": "docstatus =1"
 }, 
 {
  "match_id": 1, 
  "to_field": "entries", 
  "doctype": "Table Mapper Detail", 
  "from_field": "po_details", 
  "from_table": "Purchase Order Item", 
  "to_table": "Purchase Invoice Item", 
  "validation_logic": "ifnull(billed_qty,0)  < qty and docstatus = 1"
 }, 
 {
  "match_id": 2, 
  "to_field": "purchase_tax_details", 
  "doctype": "Table Mapper Detail", 
  "from_field": "purchase_tax_details", 
  "from_table": "Purchase Taxes and Charges", 
  "to_table": "Purchase Taxes and Charges", 
  "validation_logic": "docstatus =1"
 }
]